package com.wtwd.device.service;


import com.wtwd.device.model.entity.AppUserMedal;
import com.wtwd.device.model.entity.Medal;
import com.wtwd.device.model.entity.MedalVo;

import java.util.List;
import java.util.Map;

/**
 * @author mjy
 * @date 2021/09/23
 * @description
 */
public interface MedalService {

    List<Medal> getUserNotBoundMedal(Long userId, int medalType);

    Integer bathAddUserMedal(List<AppUserMedal> bathAddMedalList);

    Map<Integer, List<MedalVo>> getUserAllMedal(Long userId);

    boolean deleteUserMedalByUserId(Long userId);
}
